{extend name="common/dialog" /}

{block name="head"}

<style type="text/css">

    .body-back{background-color: #fff;}
</style>
{/block}
{block name="main"}
<div class="admin-main fadeInUp animated dialog-form-padding" ng-app="hd" ng-controller="ctrl">
    <div style="position: relative; padding: 5px 25px;">

        <div style="width: 100%;" id="_listBox2">
            <table class="layui-table network-info" style="width: 100%;">
            <thead>
              <tr>
                <th style="" colspan="2" >
                  <b>{:lang('Order Summary')}</b>
                 
                </th>
                
              </tr> 
            </thead>
            <tbody>
                <tr>
                    <td>{:lang('Customer No.')}：{$order['sn']}</td>
                    <td>{:lang('Operation Time')}：{$order['create_time']}</td>
                </tr>
                <tr>
                    <td>{:lang('User Account')}：{$order['email']}</td>
                    <td>{:lang('Order Type')}：<span style="color:#f47023;">{$order['typelabel']}</span></td>
                </tr>
                <?php if($order['type'] == 4):?>
                <tr>
                    <td>{:lang('Renewal Time')}：<span style="color:#f47023;">{$order['value']['daylength']} {:lang('Months')}</span></td>
                    <td></td>
                </tr>
                <?php endif;?>
            </tbody>
            </table>
            <br/>
            <table class="layui-table">
                <thead>
                <tr>
                <th style="" colspan="4" style="">
                  <b>{:lang('Order Details')}</b>
                 
                </th>
                
              </tr> 
                </thead>
                <tbody>
                  <tr>
                    <td style="width: 55%">{:lang('Line Name')}</td>
                    <td style="width: 20%" align="center">{:lang('Specific configuration')}</td>
                    <td style="width: 25%" align="center">{:lang('Start&Stop Time')}</td>
                  </tr> 
                
                
                  <tr>
                    <td style="height: 50px;">
                        <div><b>{$order['value']['name']}</b></div>
                        <div>{$order['value']['locallabel']} <span>⇌</span> {$order['value']['endclou']}</div>
                    </td>
                    <td align="center">
                        <?php if($order['type'] == 2):?>
                            <div>{$order['value']['mbs']} (Mbps)</div>
                            <div>⇓</div>
                            <div>{$order['value']['broadband']} (Mbps)</div>
                        <?php else:?>
                             <div>{$order['value']['broadband']} (Mbps)</div>
                        <?php endif;?>
                    </td>
                    <td>{$order['value']['approtime']} - {$order['value']['enddate']}</td>
                  </tr>
                  
                </tbody>
              </table>
        </div>
    </div>
</div>
{/block}
{block name="footer"}
{/block}